package com.zb.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zb.annotation.NumberPattern;
import com.zb.result.PageUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author WEN
 * @Date 2023/10/30 0030
 **/
@Data
@ApiModel("工单备件旧件退回列表查询条件封装")
public class WorkSpareReturnSelectVo extends PageUtil {
    @ApiModelProperty(value = "旧件退回状态：1-待退回，2-待确认并填写物流，3-已退回")
    private Integer status;

    @ApiModelProperty(value = "服务商ID")
    private Long networkId;

    @ApiModelProperty(value = "工单单号")
    private String workNo;

    @ApiModelProperty(value = "工单备件单号")
    private String workSpareNo;

    @ApiModelProperty(value = "旧件单号")
    private String oldSpareNo;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "旧件退回开始时间")
    private Date callbackStartTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "旧件退回结束时间")
    private Date callbackEndTime;
}
